package com.equipment.management.service;

import com.equipment.management.entity.Floor;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface FloorService {

    List<Map> findAllFloor(Integer floor_level);

    Floor getFloorByMessage(String name, String password) throws Exception;

    int addFloor(Floor Floor) throws Exception;

    int deleteFloor(int id);

    Floor getFloorByLevel(int floor_level);
}
